﻿using System;
using UnityEngine;

namespace UnityStandardAssets.ImageEffects
{
	// Token: 0x02000602 RID: 1538
	[ExecuteInEditMode]
	[AddComponentMenu("Image Effects/Displacement/Vortex")]
	public class Vortex : ImageEffectBase
	{
		// Token: 0x06001E0E RID: 7694 RVA: 0x00013024 File Offset: 0x00011224
		public void OnRenderImage(RenderTexture source, RenderTexture destination)
		{
			ImageEffects.RenderDistortion(base.material, source, destination, this.angle, this.center, this.radius);
		}

		// Token: 0x04001840 RID: 6208
		public Vector2 radius = new Vector2(0.4f, 0.4f);

		// Token: 0x04001841 RID: 6209
		public float angle = 50f;

		// Token: 0x04001842 RID: 6210
		public Vector2 center = new Vector2(0.5f, 0.5f);
	}
}
